package com.hyyt.shopjsp.util.procedure.service;

import org.springframework.stereotype.Service;

import java.math.BigDecimal;


/**
 * ICallProcedureService 调用存储过程的Service接口类
 * @author
 *
 */
@Service
public interface ICallProcedureService {

	/**
	 * 根据用户id查询 现金钱包 总余额
	 *
	 * @param customer_id
	 * @return
	 */
	public BigDecimal updateOrGetCustomerBalanceByCustomerId(Integer customer_id) ;

	/**
	 * 根据用户id查询 积分（金币） 总额
	 *
	 * @param customer_id
	 * @return
	 * @throws Exception
	 */
	public BigDecimal updateOrGetBalanceCoinByCustomerId(Integer customer_id);
}
